package cn.yunhe.dao;

import cn.yunhe.entity.Role;
import org.springframework.stereotype.Repository;

@Repository
public interface RoleDao {

    /**
     * 获取用户角色
     * @param userId
     * @return
     */
    Role getUserRole(int userId);
}